import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 导入全局样式
import '@/styles/index.scss'
// vant  组件库
import vant from 'vant'

// vant 样式文件
import 'vant/lib/index.css'

// vant 组件库的移动端时间适配
import '@vant/touch-emulator'

// 导入自己的插件库
import  Plugin  from '@/utils/plugin'

const app = createApp(App)

app.use(createPinia())
app.use(router)

// 挂在 vant 到 app 实例上
app.use(vant)
//挂在自己的插件
app.use(Plugin)

app.mount('#app')
